package com.billdowney.util.media;

/**
 * @ClassName: VideoInfo
 * @Description: 视频文件所包含的信息
 * @author 超级小富翁 - BillDowney
 * @date 2018年8月1日 下午8:10:40
 */
public class VideoInfo {

	/**
	 * 视频名称
	 */
	private String videoName;
	/**
	 * 视频后缀名
	 */
	private String videoSuffix;
	/**
	 * 视频本地路径
	 */
	private String localPath;
	/**
	 * 视频本地文件路径
	 */
	private String localFilePath;
	/**
	 * 视频时长，单位(毫秒)
	 */
	private long time;
	/**
	 * 视频高度
	 */
	private int height;
	/**
	 * 视频宽度
	 */
	private int width;
	/**
	 * 视频编码
	 */
	private String decoder;
	/**
	 * 视频帧速率
	 */
	private float frameRate;
	/**
	 * 视频格式
	 */
	private String format;
	/**
	 * 视频大小，bytes，1KB=1024bytes
	 */
	private long size;

	public String getVideoName() {
		return videoName;
	}

	public void setVideoName(String videoName) {
		this.videoName = videoName;
	}

	public String getVideoSuffix() {
		return videoSuffix;
	}

	public void setVideoSuffix(String videoSuffix) {
		this.videoSuffix = videoSuffix;
	}

	public String getLocalPath() {
		return localPath;
	}

	public void setLocalPath(String localPath) {
		this.localPath = localPath;
	}

	public String getLocalFilePath() {
		return localFilePath;
	}

	public void setLocalFilePath(String localFilePath) {
		this.localFilePath = localFilePath;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public int getHeight() {
		return height;
	}

	public void setHeight(int height) {
		this.height = height;
	}

	public int getWidth() {
		return width;
	}

	public void setWidth(int width) {
		this.width = width;
	}

	public String getDecoder() {
		return decoder;
	}

	public void setDecoder(String decoder) {
		this.decoder = decoder;
	}

	public float getFrameRate() {
		return frameRate;
	}

	public void setFrameRate(float frameRate) {
		this.frameRate = frameRate;
	}

	public String getFormat() {
		return format;
	}

	public void setFormat(String format) {
		this.format = format;
	}

	public long getSize() {
		return size;
	}

	public void setSize(long size) {
		this.size = size;
	}

	@Override
	public String toString() {
		return "VideoInfo [videoName=" + videoName + ", videoSuffix=" + videoSuffix + ", localPath=" + localPath
				+ ", localFilePath=" + localFilePath + ", time=" + time + ", height=" + height + ", width=" + width
				+ ", decoder=" + decoder + ", frameRate=" + frameRate + ", format=" + format + ", size=" + size + "]";
	}

}
